import 'package:flame/components.dart';
import 'package:flutter_flame/component/ScaleSpriteComponent.dart';

import '../../../config/AssetsName.dart';

class SelectorScreenFlowersComponent extends PositionComponent {
  @override
  Future<void> onLoad() async {
    position = Vector2(260, 165);
    add(_SelectorScreenFlower1());
    add(_SelectorScreenFlower2());
    add(_SelectorScreenFlower3());
  }
}

class _SelectorScreenFlower1 extends ScaleSpriteComponent {
  _SelectorScreenFlower1()
    : super(35, Vector2(82, -5), AssetsName.spriteSelectorScreenFlower1);
}

class _SelectorScreenFlower2 extends ScaleSpriteComponent {
  _SelectorScreenFlower2()
    : super(40, Vector2(45, 20), AssetsName.spriteSelectorScreenFlower2);
}

class _SelectorScreenFlower3 extends ScaleSpriteComponent {
  _SelectorScreenFlower3()
    : super(40, Vector2(150, 35), AssetsName.spriteSelectorScreenFlower3);
}
